<template>
	<div class="addPaper">
		<el-steps :active="active" v-if="!!active" finish-status="success" simple style="margin-top: 20px">
		  <el-step title="步骤 1" ></el-step>
		  <el-step title="步骤 2" ></el-step>
		  <el-step title="步骤 3" ></el-step>
		</el-steps>
		<div class="addpaper_content">
			<router-view></router-view>
		</div>
	</div>
	
</template>

<script>
  //import { fileUpload,Login} from '../assets/util/api.js'
  export default {
    data() {
      return {
      	active:1,
      };
    },
    watch:{
    	'$route' (to, from) {
    		if(this.$route.query.step){
    			this.active = this.$route.query.step;
    		}else{
    			this.active = 0;
    		}
    	},
    },
    mounted(){
      
    },
    methods: {
     
    }
  }
 
</script>
<style lang="scss" scoped>
  
</style>

